package com.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 
 * @author ytzhu
 * 
 */
@SpringBootApplication
@EnableScheduling	//开启定时任务
@EnableAsync		//开启Spring在后台线程池中运行 @Async方法的能力
public class BatchFileApp 
{
    public static void main( String[] args ){
    	SpringApplication.run(BatchFileApp.class, args) ;
    }
}
